﻿<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>一只喵</title>
<link rel='stylesheet' id='generate-style-grid-css'  href="{{asset('resources/views/home/css/unsemantic-grid.css?ver=1.2.4')}}" type='text/css' media='all' />
<link rel='stylesheet' id='generate-style-css'  href="{{asset('resources/views/home/css/style.css?ver=1.2.4')}}" type='text/css' media='all' />
    <link href="/bitbug_favicon.ico" type="image/x-icon" rel="shortcut icon" />
<style id='generate-style-inline-css' type='text/css'>
body {background-color: #efefef; color: #3a3a3a; }a, a:visited {color: #1e73be; text-decoration: none; }a:hover, a:focus, a:active {color: #000000; }body .grid-container {max-width: 1100px; }
body, button, input, select, textarea {font-family: Open Sans; font-weight: normal; text-transform: none; font-size: 17px; }.main-title {font-family: inherit; font-weight: bold; text-transform: none; font-size: 45px; }.site-description {font-family: inherit; font-weight: normal; text-transform: none; font-size: 15px; }.main-navigation a, .menu-toggle {font-family: inherit; font-weight: normal; text-transform: none; font-size: 15px; }.main-navigation .main-nav ul ul li a {font-size: 13px; }.widget-title {font-family: '微软雅黑','文泉驿正黑','黑体',sans-serif; font-weight: normal; text-transform: none; font-size: 20px; }h1 {font-family: inherit; font-weight: 300; text-transform: none; font-size: 40px; }h2 {font-family: inherit; font-weight: 300; text-transform: none; font-size: 30px; }h3 {font-family: inherit; font-weight: normal; text-transform: none; font-size: 20px; }h4 {font-family: inherit; font-weight: normal; text-transform: none; font-size: 15px; }
.site-header {background-color: #FFFFFF; color: #3a3a3a; }.site-header a,.site-header a:visited {color: #3a3a3a; }.main-title a,.main-title a:hover,.main-title a:visited {color: #222222; }.site-description {color: #999999; }.main-navigation,  .main-navigation ul ul {background-color: #222222; }.navigation-search input[type="search"],.navigation-search input[type="search"]:active {color: #3f3f3f; background-color: #3f3f3f; }.navigation-search input[type="search"]:focus {color: #FFFFFF; background-color: #3f3f3f; }.main-navigation ul ul {background-color: #3f3f3f; }.main-navigation .main-nav ul li a,.menu-toggle {color: #FFFFFF; }.main-navigation .main-nav ul ul li a {color: #FFFFFF; }.main-navigation .main-nav ul li > a:hover, .main-navigation .main-nav ul li.sfHover > a {color: #FFFFFF; background-color: #3f3f3f; }.main-navigation .main-nav ul ul li > a:hover, .main-navigation .main-nav ul ul li.sfHover > a {color: #FFFFFF; background-color: #4f4f4f; }.main-navigation .main-nav ul .current-menu-item > a, .main-navigation .main-nav ul .current-menu-parent > a, .main-navigation .main-nav ul .current-menu-ancestor > a, .main-navigation .main-nav ul .current_page_item > a, .main-navigation .main-nav ul .current_page_parent > a, .main-navigation .main-nav ul .current_page_ancestor > a {color: #FFFFFF; background-color: #3f3f3f; }.main-navigation .main-nav ul .current-menu-item > a:hover, .main-navigation .main-nav ul .current-menu-parent > a:hover, .main-navigation .main-nav ul .current-menu-ancestor > a:hover, .main-navigation .main-nav ul .current_page_item > a:hover, .main-navigation .main-nav ul .current_page_parent > a:hover, .main-navigation .main-nav ul .current_page_ancestor > a:hover, .main-navigation .main-nav ul .current-menu-item.sfHover > a, .main-navigation .main-nav ul .current-menu-parent.sfHover > a, .main-navigation .main-nav ul .current-menu-ancestor.sfHover > a, .main-navigation .main-nav ul .current_page_item.sfHover > a, .main-navigation .main-nav ul .current_page_parent.sfHover > a, .main-navigation .main-nav ul .current_page_ancestor.sfHover > a {color: #FFFFFF; background-color: #3f3f3f; }.main-navigation .main-nav ul ul .current-menu-item > a, .main-navigation .main-nav ul ul .current-menu-parent > a, .main-navigation .main-nav ul ul .current-menu-ancestor > a, .main-navigation .main-nav ul ul .current_page_item > a, .main-navigation .main-nav ul ul .current_page_parent > a, .main-navigation .main-nav ul ul .current_page_ancestor > a {color: #FFFFFF; background-color: #4f4f4f; }.main-navigation .main-nav ul ul .current-menu-item > a:hover, .main-navigation .main-nav ul ul .current-menu-parent > a:hover, .main-navigation .main-nav ul ul .current-menu-ancestor > a:hover, .main-navigation .main-nav ul ul .current_page_item > a:hover, .main-navigation .main-nav ul ul .current_page_parent > a:hover, .main-navigation .main-nav ul ul .current_page_ancestor > a:hover,.main-navigation .main-nav ul ul .current-menu-item.sfHover > a, .main-navigation .main-nav ul ul .current-menu-parent.sfHover > a, .main-navigation .main-nav ul ul .current-menu-ancestor.sfHover > a, .main-navigation .main-nav ul ul .current_page_item.sfHover > a, .main-navigation .main-nav ul ul .current_page_parent.sfHover > a, .main-navigation .main-nav ul ul .current_page_ancestor.sfHover > a {color: #FFFFFF; background-color: #4f4f4f; }.inside-article, .comments-area, .page-header,.one-container .container,.paging-navigation,.inside-page-header {background-color: #FFFFFF; color: #3a3a3a; }.entry-meta {color: #888888; }.entry-meta a, .entry-meta a:visited {color: #666666; }.entry-meta a:hover {color: #1E73BE; }.sidebar .widget {background-color: #FFFFFF; color: #3a3a3a; }.sidebar .widget .widget-title {color: #000000; }.footer-widgets {background-color: #FFFFFF; color: #3a3a3a; }.footer-widgets a, .footer-widgets a:visited {color: #1e73be; }.footer-widgets a:hover {color: #000000; }.footer-widgets .widget-title {color: #000000; }.site-info {background-color: #222222; color: #ffffff; }.site-info a, .site-info a:visited {color: #ffffff; }.site-info a:hover {color: #4295DD; }input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], textarea {background-color: #FAFAFA; border-color: #CCCCCC; color: #666666; }input[type="text"]:focus, input[type="email"]:focus, input[type="url"]:focus, input[type="password"]:focus, input[type="search"]:focus, textarea:focus {background-color: #FFFFFF; color: #666666; border-color: #BFBFBF; }button, html input[type="button"], input[type="reset"], input[type="submit"],.button,.button:visited {background-color: #666666; color: #FFFFFF; }button:hover, html input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover,.button:hover,button:focus, html input[type="button"]:focus, input[type="reset"]:focus, input[type="submit"]:focus,.button:focus,button:active, html input[type="button"]:active, input[type="reset"]:active, input[type="submit"]:active,.button:active {background-color: #3F3F3F; color: #FFFFFF; }
.inside-header {padding-top: 40px; padding-right: 40px; padding-bottom: 40px; padding-left: 40px; }.separate-containers .inside-article, .separate-containers .comments-area, .separate-containers .page-header, .separate-containers .paging-navigation, .one-container .site-content {padding-top: 40px; padding-right: 40px; padding-bottom: 40px; padding-left: 40px; }.ignore-x-spacing {margin-right: -40px; margin-bottom: 40px; margin-left: -40px; }.ignore-xy-spacing {margin-top: -40px; margin-right: -40px; margin-bottom: 40px; margin-left: -40px; }.main-navigation .main-nav ul li a,			.menu-toggle {padding-left: 20px; padding-right: 20px; line-height: 60px; }.nav-float-right .main-navigation .main-nav ul li a {line-height: 60px; }.main-navigation .main-nav ul ul li a {padding-left: 20px; padding-right: 20px; padding-top: 10px; padding-bottom: 10px; }.main-navigation ul ul {top: 60px; }.navigation-search {height: 60px; line-height: 0px; }.navigation-search input {height: 60px; line-height: 0px; }.separate-containers .widget-area .widget {padding-top: 40px; padding-right: 40px; padding-bottom: 40px; padding-left: 40px; }.footer-widgets {padding-top: 40px; padding-right: 0px; padding-bottom: 40px; padding-left: 0px; }.site-info {padding-top: 20px; padding-right: 0px; padding-bottom: 20px; padding-left: 0px; }.right-sidebar.separate-containers .site-main {margin-top: 20px; margin-right: 20px; margin-bottom: 20px; margin-left: 0px; padding: 0px; }.left-sidebar.separate-containers .site-main {margin-top: 20px; margin-right: 0px; margin-bottom: 20px; margin-left: 20px; padding: 0px; }.both-sidebars.separate-containers .site-main {margin: 20px; padding: 0px; }.both-right.separate-containers .site-main {margin-top: 20px; margin-right: 20px; margin-bottom: 20px; margin-left: 0px; padding: 0px; }.separate-containers .site-main {margin-top: 20px; margin-bottom: 20px; padding: 0px; }.separate-containers .page-header-image, .separate-containers .page-header-content, .separate-containers .page-header-image-single, .separate-containers .page-header-content-single {margin-top: 20px; }.both-left.separate-containers .site-main {margin-top: 20px; margin-right: 0px; margin-bottom: 20px; margin-left: 20px; padding: 0px; }.separate-containers .inside-right-sidebar, .inside-left-sidebar {margin-top: 20px; margin-bottom: 20px; padding-top: 0px; padding-bottom: 0px; }.separate-containers .widget, .separate-containers .hentry, .separate-containers .page-header, .widget-area .main-navigation {margin-bottom: 20px; }.both-left.separate-containers .inside-left-sidebar {margin-right: 10px; padding-right: 0px; }.both-left.separate-containers .inside-right-sidebar {margin-left: 10px; padding-left: 0px; }.both-right.separate-containers .inside-left-sidebar {margin-right: 10px; padding-right: 0px; }.both-right.separate-containers .inside-right-sidebar {margin-left: 10px; padding-left: 0px; }article {font-size:15px;}.widget{font-size:14px;  }
.pagebar a{ margin: 0 4px; }.pagebar span{ margin: 0 4px; }
</style>
<link rel='stylesheet' id='generate-mobile-style-css'  href="{{asset('resources/views/home/css/mobile.css?ver=1.2.4')}}" type='text/css' media='all' />
<link rel='stylesheet' id='superfish-css'  href="{{asset('resources/views/home/css/superfish.css?ver=1.2.4')}}" type='text/css' media='all' />
<link rel='stylesheet' id='fontawesome-css'  href="{{asset('resources/views/home/css/font-awesome.min.css?ver=4.1')}}" type='text/css' media='all' />

<script type='text/javascript' src='http://apps.bdimg.com/libs/jquery/1.11.1/jquery.min.js'></script>

<meta name="viewport" content="width=device-width, initial-scale=1">	<!--[if lt IE 9]>
		<script src="{{asset('resources/views/home/js/html5shiv.js')}}"></script>
		<link rel="stylesheet" href="{{asset('resources/views/home/css/ie.css')}}" />
	<![endif]-->
	<style type="text/css">.recentcomments a{display:inline !important;padding:0 !important;margin:0 !important;}</style>
</head>
<body itemtype="http://schema.org/WebPage" itemscope="itemscope" class="home blog right-sidebar nav-below-header fluid-header separate-containers nav-aligned-left header-aligned-left">
<header itemtype="http://schema.org/WPHeader" itemscope="itemscope" id="masthead" role="banner" class="site-header">

        <div class="inside-header grid-container grid-parent">

                        <div class="site-branding">

                                    <p class="main-title" itemprop="headline"><a rel="home">一只喵的blog</a></p>

                                    <p class="site-description">一个做了几年php的小玩意!</p>
                                     <p class="site-description">一个漂浮在城市中可有可无的小玩意!</p>
                                     <p class="site-description">一个靠撸码吃饭的小炮灰!</p>
                                </div>

                                </div><!-- .inside-header -->

    </header><!-- #masthead -->

        <nav itemtype="http://schema.org/SiteNavigationElement" itemscope="itemscope" id="site-navigation" role="navigation" class="main-navigation">

        <div class="inside-navigation grid-container grid-parent">

                        <h3 class="menu-toggle"><span class="mobile-menu">Menu</span></h3>

            <div class="screen-reader-text skip-link"><a href="#content" title="Skip to content">Skip to content</a></div>

                <div class="main-nav">

        <ul class="menu sf-menu">

        <li class="current_page_item"><a title="Home" class="active" href="/">日 志</a></li>

                            <li class="page_item page-item-2"><a title="关于">关于</a></li>
                            <li class="page_item page-item-11"><a title="留言">留言</a></li>

        </li>

        </ul>

    </div><!-- .main-nav -->

        </div><!-- .inside-navigation -->

    </nav><!-- #site-navigation -->

		
	<div id="page" class="hfeed site grid-container container grid-parent">
		<div id="content" class="site-content">	<div id="primary" class="content-area grid-parent grid-75">
		<main id="main" class="site-main" itemtype="http://schema.org/Blog" itemscope="itemscope" itemprop="mainContentOfPage" role="main">



            @foreach($data as $d)

                        <article id="post-792" class="post type-post status-publish format-standard hentry" itemprop="blogPost" itemtype="http://schema.org/BlogPosting" itemscope="itemscope">
                <div class="inside-article">
                            <header class="entry-header">
                        <h2 class="entry-title" itemprop="headline"><a href="{{url('a/'.$d->art_id)}}" rel="bookmark">{{$d->art_title}}</a></h2>

                            <div class="entry-meta">
                            <span class="posted-on">

                                <a rel="bookmark"><time class="entry-date published"itemprop="datePublished">{{date('Y-m-d',$d->art_time)}}</time></a>
                            </span> <span class="byline"><span class="author vcard" itemtype="http://schema.org/Person" itemscope="itemscope" itemprop="author">by <a class="url fn n" href="/?author=1" title="查看十八的文章" rel="author" itemprop="url"><span class="author-name" itemprop="name">{{$d->art_editor}}</span></a></span></span>
                            
                            <span class="cat-links">
                                <a title="显示闲谈随笔的所有日志" rel="category tag">闲谈随笔</a>                            </span>
                            <span class="tags-links">
                                <a rel="tag">坏习惯</a>                            </span>
                             <a >
                             <span class="comments-link ds-thread-count" data-thread-key="792" data-count-type="comments">
                             </span>
                             </a>
                            </div><!-- .entry-meta -->
                                </header><!-- .entry-header -->
                            
                            <div class="entry-content" itemprop="text">{!! $d->art_content !!}
                            </div><!-- .entry-content -->
                    
                    <!-- .entry-meta -->
                        </div><!-- .inside-article -->
            </article><!-- #post-## -->
            @endforeach

                        
			

			

			

                       
			
			

			
            <!-- pb221 --><div class="pagebar">Pages:&nbsp; {{$data->links()}}
</div>					
			
		</main><!-- #main -->
	</div><!-- #primary -->
    <div id="right-sidebar" itemtype="http://schema.org/WPSideBar" itemscope="itemscope" role="complementary" class="widget-area grid-25 grid-parent sidebar">
		<div class="inside-right-sidebar">
		<aside id="search-2" class="widget inner-padding widget_search">
             <form role="search" method="get" class="search-form" action="/">
        <label>
            <span class="screen-reader-text">Search for:</span>
            <input type="search" class="search-field" placeholder="Search &hellip;" value="" name="s" title="Search for:">
        </label>
        <input type="submit" class="search-submit" value="Search">
    </form>
        </aside>
        <aside id="categories-2" class="widget inner-padding widget_categories">
          <h4 class="widget-title">分类目录</h4>
          <ul>
              @foreach($category as $c)
                        	<li class="cat-item cat-item-143"><a >{{$c->cate_name}}</a></li>
              @endforeach
          </ul>
        </aside>
            <!--暂无
        <aside id="recent-posts-2" class="widget inner-padding widget_recent_entries">
        <h4 class="widget-title">近期文章</h4>
                <ul>
                    <li><a href="http://www.yanshiba.com/archives/792">为什么有些坏习惯很难改掉?</a></li>

                  </ul>
		</aside>-->

         <!--
        <aside id="archives-2" class="widget inner-padding widget_archive">
        <h4 class="widget-title">文章归档</h4>		<ul>
            	<li><a href='http://www.yanshiba.com/archives/date/2017/01' title='2017年01月'>2017年01月</a>&nbsp;(2)</li>
	            <li><a href='http://www.yanshiba.com/archives/date/2016/08' title='2016年08月'>2016年08月</a>&nbsp;(1)</li>
		</ul>
        </aside>
        -->
         <!--
         <aside id="tags-2" class="widget inner-padding widget_archive">
         <h4 class="widget-title">标签云</h4>
            <a href='http://www.yanshiba.com/archives/tag/js' class='tag-link-144' title='2 篇主题' rel="tag" style='font-size: 12.833333333333px;'>js</a>
        <a href='http://www.yanshiba.com/archives/tag/nginx' class='tag-link-157' title='3 篇主题' rel="tag" style='font-size: 13.666666666667px;'>Nginx</a>
           </aside>
        -->
	    
                <aside id="meta-2" class="widget inner-padding widget_meta"><h4 class="widget-title">功能</h4>			
        <ul>
            <li><a >注册</a></li>            <li><a >登录</a></li>
                    </ul>
        </aside>
		 


        </div><!-- .inside-right-sidebar -->
	</div><!-- #secondary -->
	</div><!-- #content -->
</div><!-- #page -->
<div class="site-footer">
	<footer class="site-info" itemtype="http://schema.org/WPFooter" itemscope="itemscope" role="contentinfo">
		<div class="inside-site-info grid-container grid-parent">
				<a class="copyright"></a>
	    </div>
	</footer><!-- .site-info -->
</div><!-- .site-footer -->
<script type='text/javascript' src="{{asset('resources/views/home/js/jquery-migrate.min.js?ver=1.2.1')}}"></script>
<script type='text/javascript' src="{{asset('resources/views/home/js/navigation.js')}}"></script>
<script type='text/javascript' src="{{asset('resources/views/home/js/superfish.js')}}"></script>
<script type='text/javascript' src="{{asset('resources/views/home/js/hoverIntent.min.js')}}"></script>
<script type='text/javascript' src="{{asset('resources/views/home/js/scripts.js')}}"></script>
<script type='text/javascript' src="{{asset('resources/views/home/js/jquery.scrollUp.min.js')}}"></script>
<script>
// 代码高亮插件
$(function() {
    console.log("致敬我所尊敬的燕十八老师!");
    if($('pre code').length == 0) {
        return;
    }

    $('head').append('<link rel="stylesheet" href="{{asset('resources/views/home/css/default.css')}}">');

    $.getScript("{{asset('resources/views/home/js/highlight.pack.js')}}" , function(){
        $('pre code').each(function(i, block) {
            window.hljs.highlightBlock(block);
        });
    });  
});

// scrollup插件
$(function () {
    $(function () {
        $.scrollUp({
            scrollImg: {
                active: true,
                type: 'background',
                src: "{{asset('resources/views/home/images/top.png')}}"
            }
        });
    });
    $('head').append('<link rel="stylesheet" href="{{asset('resources/views/home/css/image.css')}}">');
    $('.image-switch').addClass('active');


    // Toggle overlay
    $('#toggleActive').click(function () {
        $('#scrollUp-active').toggle();

        var text = $(this).text() == 'Hide activeOverlay' ? 'Show activeOverlay' : 'Hide activeOverlay';
        $(this).text(text).toggleClass('active');
    });
});

</script>

</body>
</html>